package com.c6906.vdam.monitor.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.sql.Timestamp;

/*
* 如果上报coreUsages 有数，则存储到这个对象，每条记录代表单个CPU的利用率
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CpuUsage {
    private Long id;
    private Long msgSerial;
    private Long serverId;
    private String hostName;
    private Integer cpuId;
    private Timestamp eventTime;
    private Double usagePercent;
    private Timestamp createdAt;
    private Timestamp updatedAt;
}
